﻿using System;

namespace DataService.Structs;

public struct FileData : IComparable<FileData>
{
    public short ID;
    public Storage Value;
    public string Text;

    public FileData(short id, Storage value, string text)
    {
        ID = id;
        Value = value;
        Text = text;
    }

    public int CompareTo(FileData other)
    {
        return ID.CompareTo(other.ID);
    }
}
